chart(feature): add dnsPolicy and dnsConfig support#3126
chart(feature): add dnsPolicy and dnsConfig support#3126VietND96 merged 4 commits intoSeleniumHQ:trunkfrom
Conversation
Review Summary by QodoAdd revisionHistoryLimit and dnsConfig support to Selenium Grid Helm chart
WalkthroughsDescription• Add revisionHistoryLimit support across all Selenium Grid components with global default of 10 and per-component overrides • Add dnsPolicy and dnsConfig support for pod DNS configuration at global and component levels • Update helper template to support DNS settings in pod specs including KEDA ScaledJob pods • Extend values.yaml with new configuration options for all components (hub, router, distributor, event bus, session map, session queue, and browser nodes) Diagramflowchart LR
A["Global Config<br/>revisionHistoryLimit<br/>dnsPolicy<br/>dnsConfig"] -->|"defaults"| B["Component Deployments<br/>hub, router, distributor<br/>eventBus, sessionMap<br/>sessionQueue"]
A -->|"defaults"| C["Browser Nodes<br/>chrome, firefox, edge"]
B -->|"per-component<br/>overrides"| D["Pod Specs<br/>with DNS & revision settings"]
C -->|"per-component<br/>overrides"| D
E["Helper Template<br/>_helpers.tpl"] -->|"renders"| D
File Changes1. charts/selenium-grid/templates/_helpers.tpl
|
Code Review by Qodo
1. Zero revisionHistoryLimit ignored
|
Expose pod dnsPolicy and dnsConfig across all Selenium Grid components
(hub, router, distributor, event bus, session map, session queue,
chrome/edge/firefox/relay nodes including KEDA ScaledJob pods, and the
videoManager file-browser). Configurable globally via
global.seleniumGrid.{dnsPolicy,dnsConfig} with per-component overrides,
mirroring the existing affinity / topologySpreadConstraints pattern.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
63892a6 to
eb1bdae
Compare
Run helm-docs against values.yaml to surface the new dnsPolicy/dnsConfig entries added in eb1bdae across global, components.{router,distributor,eventBus,sessionMap,sessionQueue}, hub, chrome/firefox/edge/relay nodes, and videoManager. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Re-run helm-docs with --skip-version-footer to match the prior CONFIGURATION.md convention (no autogenerated trailer). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
helm-docs --skip-version-footer strips the footer plus the blank line that preceded it. Re-add the trailing newline to match the prior file shape. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Summary
dnsPolicyanddnsConfigacross all Selenium Grid components: hub, router, distributor, event bus, session map, session queue, chrome/edge/firefox/relay nodes (including KEDAScaledJobpods), and thevideoManagerfile-browser.global.seleniumGrid.{dnsPolicy,dnsConfig}with per-component overrides, mirroring the existingaffinity/topologySpreadConstraintspattern.Test plan
helm lintpasses (default values and with overrides).helm templatewith default values emits nodnsPolicy/dnsConfigkeys.helm templatewithglobal.seleniumGrid.dnsPolicy=ClusterFirstandglobal.seleniumGrid.dnsConfig.nameservers[0]=8.8.8.8propagates to all 11 components.components.router.dnsPolicy=Default,chromeNode.dnsConfig.options[0]={name: ndots, value: 3}) take precedence over globals.ScaledJobmode (autoscaling.scalingType=job) rendersdnsPolicy/dnsConfiginsidejobTargetRef.template.specfor chrome/edge/firefox/relay nodes.🤖 Generated with Claude Code